<!DOCTYPE html>
<html lang="en">
<head>

    <title>会议室设备管理</title>
    <meta charset="UTF-8"/>
    <script src="../../../../../../miniUI/scripts/boot.js"></script>

</head>
<style>
    body {
        margin: 0;
        padding: 0;
        border: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
</style>
<body>
<a class="mini-button" iconCls="icon-add" plain="true" onclick="addRow()">增加</a>
<a class="mini-button" iconCls="icon-edit" plain="true" onclick="editRow()">编辑</a>
<a class="mini-button" iconCls="icon-remove" plain="true" onclick="removeRow()">删除</a>
<span class="separator"></span>
<fieldset style="width:100%;border:solid 1px #aaa;margin-top:8px;position:relative;">
    <div id="editForm1" style="padding:5px;width: 100%;">
        <input class="mini-hidden" name="id"/>
        <table style="width:100%;">
            <tr style="width:100%;">
                <td style="width:80px;">设备名称:</td>
                <td style="width:250px;"><input id="equip_name" name="equip_name" class="mini-buttonedit" style="width:100%;"/></td>
                <td style="width:80px;text-align: center">设备型号:</td>
                <td style="width:250px;"><input id="equip_type" name="equip_type" class="mini-combobox" style="width:100%;"/></td>
                <td style="width:80px;text-align: center">设备状态:</td>
                <td style="width:250px;"><input id="equip_state"  name="equip_state" class="mini-combobox" style="width:100%;"/></td>

            </tr>
            <tr>
            <tr>
                <td style="width:80px;"></td>
                <td style="width:250px;"><input id="numbers" name="numbers" class="mini-combobox" style="width:100%;"/></td>
                <td style="width:80px;"></td>
                <td style="width:80px;text-align: right;">

                </td>
                <td style="width:80px;"></td>
                <td style="width:80px;text-align: right;">
                    <button style="width:80px;" onclick="find" class="mini-button">查询</button>
                    <button style="width:80px;" onclick="clean" class="mini-button">重置</button>
                </td>
            </tr>
            </tr>
        </table>
    </div>
</fieldset>

<div class="mini-fit">
    <div id="grid1" class="mini-datagrid" style="width:100%;height:100%;"
         borderStyle="border:0;"
         idField="id"
         multiSelect="true"
         showPager="true" allowUnselect='false' showPageSize="false" pageIndex="0" pageSize="500"
    >
        <div property="columns">
            <div type="checkcolumn"></div>
            <div field="equip_code" width="120" headerAlign="center" allowSort="true">设备编号
                <input property="editor" class="mini-textbox" style="width:100%;"/>
            </div>
            <div field="equip_type" width="120" headerAlign="center" allowSort="true">设备型号
                <input property="editor" class="mini-textbox" style="width:100%;"/>

            </div>
            <div field="equip_name" width="120" headerAlign="center" allowSort="true">设备名称
                <input property="editor" class="mini-textbox" style="width:100%;"/>

            </div>
            <div field="boardroomid" width="120" headerAlign="center" allowSort="true">所属会议室
                <input property="editor" class="mini-textbox" style="width:100%;"/>

            </div>
            <div field="equip_desc" width="120" headerAlign="center" allowSort="true">设备描述
                <input property="editor" class="mini-textbox" style="width:100%;"/>

            </div>
            <div field="equip_state" width="120" headerAlign="center" allowSort="true">设备状态
                <input property="editor" class="mini-textbox" style="width:100%;"/>
            </div>

        </div>
    </div>
</div>

</body>
</html>
<script src="../meetings/js/Equip.js"></script>